using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for LoginHelper
/// </summary>
public class LoginHelper
{
    System.Web.UI.Page _this;

    const String pjcKey = "PJC";

    public LoginHelper(System.Web.UI.Page _this){
        this._this = _this;
    }

    public String GetProjectCaption() {
        String fileName = (String)_this.Session[ pjcKey ];
        if (fileName == null)
            fileName = (String)_this.Request[pjcKey];
        return fileName; 
    }
    public void SetProjectCaption(String newCaption)
    {
        _this.Session[pjcKey] = newCaption;
    }
    public String getVariablesFile() { return ""; }
    public String GetLoginUserId() { return ""; }
    public String GetLoginPasswordText() { return ""; }
    public String GetApplicationName() { return ""; }
    public String GetAccount() { return ""; }
    public String GetPageCaption() { return ""; }
    public String GetUserScenarioFileName() { return ""; }
    public Boolean GetUserCanSave() { return false; }
    public String RedirectInfo(String url, String modifier) { return url; }
    public Boolean testSiteLicense(Data.VarParams varParam) { return true; }
    public String GetViewer() { return "OpenViewProject.aspx"; }
}
